package tk.mybatis.springboot.service;

import tk.mybatis.springboot.model.*;

import java.util.HashMap;
import java.util.List;

public interface UserService {


    Students login(String code);

    Students getLoginUser(Students students);

    List<StudentsVO> getStudents(StudentsForm students,Boolean getOver);

    Students register(Students students) throws Exception;

    Students setting(Students students);

    List<StudentCourse>   getClassAndGroup(String id);

    String getWorks(String string);

    List<HashMap<String,String>> getResource(GetResourceBody body);

    int  setCourse(StudentCourse studentCourse);

    int  setAward(AwardRequest awardRequest);

    List<AwardRecord> getAward(GetAwardBody getAwardBody);


    List<Certificate> getCertificate(GetAwardBody getAwardBody);

    void setFace(Students students);

    List<Homework> getWork (Homework homework);

   void setWork (HomeworkParams homework);

    List<Homework> getWorkToday(StudentCourse students);


    List<Homework> getNoWork(StudentCourse students);


    void overWork(StudentWork studentWork);

    List<Homework> getWorksBySession(Homework homework);

   void addHomeWork(HomeworkInfo homework);

   List<HomeworkInfo> getOtherWork(HomeworkInfo homework);

    void like(HomeworkInfo homework);


    void addComment(Comment comment);


    CourseSession getVideo(CourseSession session);

    void setVideo(CourseSession session);


    void setTimes(CourseSession session);
}
